import request from "@/utils/request";
import { OrderInfoResponseType } from "./types";

/**
 * 请求获取订单分页列表
 * @param page
 * @param limit
 * @returns
 */
export const reqGetOrderList = (
  page: number,
  limit: number,
  keyword: string
) => {
  return request.get<null, OrderInfoResponseType>(
    `/admin/order/orderInfo/${page}/${limit}?keyword=${keyword}`
  );
};


